home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 676-700 / 676 / fbm / fbm10man.zoo / MAN / fbnorm.man < prev    next >
Text File  |  1990-12-18  |  3KB  |  133 lines

  1.  
  2.      FBNORM(1)                     25-Jun-90                      FBNORM(1)
  3.  
  4.  
  5.           3 
  6.  
  7.      ›1mNAME 
  8.           ›0mfbnorm \- normalize and adjust grayscale or color image 
  9.  
  10.      ›1mSYNOPSIS 
  11.           ›0mfbnorm [ -b<val> -w<val> ] [ -<type> ] < image > image
  12.  
  13.      ›1mDESCRIPTION 
  14.  
  15.                ›0mExtends  the  contrast  range  to  a full 0 to 255. The
  16.           arguments -›1mb ›0mand -›1mw ›0mgiven  the  percentage  of  the  darkest
  17.           pixels to map to black and lightest pixels to map to white.  
  18.  
  19.           For  color images the default is to discard 0.5% each of the
  20.           darkest and lightest pixels.  Increasing the contrast beyond
  21.           that may result in significant color artifacts (because  the
  22.           color values will be partially clipped).  
  23.  
  24.      ›1mOPTIONS 
  25.  
  26.           ›0m-›1mb›0m<›1mnum›0m>, -w<num> ›3mpercentage black, white ›0mpixels to map to 0,
  27.           255.  The  default  for  grayscale  images is to "discard" 2
  28.           percent of the black pixels  and  1  percent  of  the  white
  29.           pixels.   For  color  images  both  values  default  to  0.5
  30.           percent.  
  31.  
  32.           An alternate form is to specify  two  integers,  which  will
  33.           then be linearly mapped to 0 and 255.  
  34.  
  35.      ›1mEXAMPLE 
  36.  
  37.                ›0mTo normalize a grayscale FBM image using defaults: 
  38.  
  39.               % fbnorm < foo.fbm > bar.fbm 
  40.  
  41.           To  increase  contrast by discarding 10 percent of the black
  42.           pixels and 5 percent of the white pixels: 
  43.  
  44.               % fbnorm -b10 -w5 < foo.fbm > bar.fbm 
  45.  
  46.           Or, if you know that you want 34 to map to 0 and 197 to  map
  47.           to 255, you can just type: 
  48.  
  49.               % fbnorm 34 197 < foo.fbm > bar.fbm 
  50.  
  51.      ›1mSEE ALSO 
  52.           ›0mfbm(1) for general discussion, pbm(1) for PBM routines.  
  53.  
  54.      ›1mBUGS 
  55.           ›0mNone known.  
  56.  
  57.      ›1mHISTORY 
  58.           ›0mCopyright  (C)  1989,1990  by Michael Mauldin. Permission is
  59.           granted to use this  file  in  whole  or  in  part  for  any
  60.           purpose,  educational,  recreational or commercial, provided
  61.           that this copyright notice  is  retained  unchanged.    This
  62.           software is available to all free of charge by anonymous FTP
  63.  
  64.  
  65.                                       -1-
  66.  
  67.  
  68.      FBNORM(1)                     25-Jun-90                      FBNORM(1)
  69.  
  70.  
  71.           and in the UUNET archives.  
  72.  
  73.           25-Jun-90  Michael  Mauldin  at  Carnegie  Mellon University
  74.           Release 1.0 mlmcs.cmu.edu 
  75.  
  76.           07-Mar-89 Michael L. Mauldin at Carnegie  Mellon  University
  77.           Beta release (version 0.9) mlmcs.cmu.edu 
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                       -2-
  132.  
  133.